package com.github.ilioili.justdoit.api;

import com.squareup.okhttp.RequestBody;
import com.taihe.template.base.http.Callback;
import com.taihe.template.base.http.RequestType;
import com.taihe.template.base.http.Task;

public class BaseTask extends Task {
    public BaseTask(RequestType requestType, String url, RequestBody requestBody, Callback httpCallback) {
        super(requestType, url, requestBody, httpCallback);
        addHeader("X-Bmob-Application-Id", "1e71ca362c125eaa9b7fbcdc1057662d");
        addHeader("X-Bmob-REST-API-Key", "a8ecae65467a4cbceb0af8f1398f8a95");
        addHeader("Content-Type", "application/json");
    }
}